package org.cqut.system.clazz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.cqut.system.clazz.bo.ClassBo;
import org.cqut.system.clazz.domain.Clazz;
import org.cqut.system.clazz.vo.ClassVo;

import java.util.List;


/**
 * @author XiAoXu
 */
@Mapper
public interface ClazzMapper extends BaseMapper<Clazz> {

    IPage<ClassVo> selectClassVoList(Page<ClassVo> page,@Param("condition") String condition);

    List<ClassBo> selectClassNumber();


    List<ClassBo> selectClassNumberByIds(@Param("ids") List<Long> ids);
}




